package edu.zut.pioneer.notice.impl;

import edu.zut.pioneer.base.service.impl.BaseManagerImpl;
import edu.zut.pioneer.notice.NoticeManager;
import edu.zut.pioneer.notice.dao.NoticeDao;
import edu.zut.pioneer.notice.domain.Notice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("noticeManager")

public class NoticeManagerImpl extends BaseManagerImpl<Notice, Long> implements NoticeManager {
    NoticeDao noticeDao;

    @Autowired
    public void setSaleTypeRep(NoticeDao noticeDao) {
        this.noticeDao = noticeDao;
        this.dao = this.noticeDao;
    }
}
